﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Orchard.ContentManagement;
using System.ComponentModel.DataAnnotations;

namespace RaisingStudio.Trigger.Models
{
    public class TriggerLogPart : ContentPart<TriggerLogPartRecord>
    {
        public int TriggerId
        {
            get { return Record.TriggerId; }
            set { Record.TriggerId = value; }
        }

        public string Title
        {
            get { return Record.Title; }
            set { Record.Title = value; }
        }

        public string Event
        {
            get { return Record.Event; }
            set { Record.Event = value; }
        }

        public string Condition
        {
            get { return Record.Condition; }
            set { Record.Condition = value; }
        }

        public string Action
        {
            get { return Record.Action; }
            set { Record.Action = value; }
        }

        public string ContextContentType
        {
            get { return Record.ContextContentType; }
            set { Record.ContextContentType = value; }
        }

        public string ContextContentId
        {
            get { return Record.ContextContentId; }
            set { Record.ContextContentId = value; }
        }

        public string Status
        {
            get { return Record.Status; }
            set { Record.Status = value; }
        }

        public string ConditionResult
        {
            get { return Record.ConditionResult; }
            set { Record.ConditionResult = value; }
        }

        public string ActionResult
        {
            get { return Record.ActionResult; }
            set { Record.ActionResult = value; }
        }

        public string TriggerBeginTime
        {
            get { return Record.TriggerBeginTime; }
            set { Record.TriggerBeginTime = value; }
        }

        public string TriggerEndTime
        {
            get { return Record.TriggerEndTime; }
            set { Record.TriggerEndTime = value; }
        }
    }
}